<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<script type="text/javascript">
function registerShopManager(){
	window.open("/${initParam.context_root }/myshop/registerShopManager.do", "pop", "width=400, height=300");
}
</script>
<style type="text/css">
 	
  	.headline {margin-top: 0px; margin-bottom: 10px; }
  	.headtext {font-weight: bolder; color:#B061BF; margin-top: 20px; margin-bottom: 0px; font-style: 돋음; }
</style>
<h2 class="headtext">운영자 설정 정보</h2>
<hr class="headline"><br>
	<table class="table table-bordered" align="center">
		<tr align="center" style="background-color:#453949; color: white;">
			<td>운영자ID</td><td>운영자PassWord</td><td>운영자명</td><td>운영자전화번호</td>
			<td>운영자 E-Mail</td><td>운영자 구분</td><td>페이지 권한</td>
		</tr>
		<c:forEach items="${requestScope.shopManager }" var="shopManager">
				<tr><td>${shopManager.shopManagerId }</td><td>${shopManager.pwd}</td><td>${shopManager.name}</td>
				<td>${shopManager.tel}</td><td>${shopManager.email}</td><td>${shopManager.sort}</td>
				<td>${shopManager.pageAccessRight}</td></tr>
		</c:forEach>
		<tr>
			<td colspan='7' align="center"><input type="button" value="운영자 정보 등록" onclick="registerShopManager()"></td>
		</tr>
	</table>
	<div>
		<h3 align="center"><font color="red">등록 및 변경 후 업데이트 된 정보를 보시려면 'F5'key를 눌러주세요~!</font></h3>
	</div>